#!/usr/bin/env python
# encoding: utf-8

import os

Import('env')
Import('SDK_PATH')
Import('INCLUDES')

INCLUDES.extend([
  os.path.abspath(os.path.join(Dir('#').abspath, 'app')),
  os.path.abspath(os.path.join(Dir('#').abspath, 'app/main')),
])

sources = [
  Glob('main/*.c'), Glob('main/*.cpp'),
  Glob("shell/*.c"),
]

objects = env.StaticLibrary(target="app", source=sources, CPPPATH=INCLUDES)

Return('objects')
